﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package com.tobyfreeman.utils {
    import flash.display.*;
    import flash.ui.*;
    import flash.net.*;

    public class Browsers {

        public function Browsers(){
            super();
            throw (new Error("ERROR com.tobyfreeman.utils.Browsers constructor: Class never intended to be instantiated"));
        }
        public static function getURL(url:String, target:String=null):void{
            var url = url;
            var target = target;
            var req:URLRequest = new URLRequest(url);
            navigateToURL(req, target);
            //unresolved jump
            var _slot1 = e;
            trace(((((("/error/ getURL failed: url='" + url) + "' target='") + target) + "' ") + _slot1.message));
        }
        public static function useMinimalContextMenu(obj:InteractiveObject):ContextMenu{
            var menu:ContextMenu = new ContextMenu();
            menu.hideBuiltInItems();
            obj.contextMenu = menu;
            return (menu);
        }

    }
}//package com.tobyfreeman.utils 
